<?php

return array(
    //'allow' => 'POWER_USER, SYSTEM_ADMIN',

	'default' => array(
        'allow' => RBAC_EVERYONE,
    ),

	'artist' => array(
        'allow' => RBAC_EVERYONE,
    ),

	'album' => array(
        'allow' => RBAC_EVERYONE,
    ),

	'style' => array(
        'allow' => RBAC_EVERYONE,
    ),
    
	'admin' => array(
        'allow' => RBAC_EVERYONE,

		'actions' => array(
            'index'     => array('allow' => RBAC_EVERYONE),
			'login'     => array('allow' => RBAC_EVERYONE),
			'logout'     => array('allow' => 'SYSTEM_ADMIN'),
			'manager'     => array('allow' => 'SYSTEM_ADMIN'),
			'artists'     => array('allow' => 'SYSTEM_ADMIN'),
            'albums'     => array('allow' => 'SYSTEM_ADMIN'),
			
        ),
    ),

	'mngrartist' => array(
        'allow' => RBAC_HAS_ROLE,

		'actions' => array(            
			'list'     => array('allow' => 'SYSTEM_ADMIN'),
			'add'     => array('allow' => 'SYSTEM_ADMIN'),			
			
        ),
    ),

	'mngralbum' => array(
        'allow' => RBAC_HAS_ROLE,

		'actions' => array(            
			'list'     => array('allow' => 'SYSTEM_ADMIN'),
			'add'     => array('allow' => 'SYSTEM_ADMIN'),	
			'songs'     => array('allow' => 'SYSTEM_ADMIN'),
			
        ),
    ),

	'mngrlabel' => array(
        'allow' => RBAC_HAS_ROLE,

		'actions' => array(            
			'list'     => array('allow' => 'SYSTEM_ADMIN'),
			'add'     => array('allow' => 'SYSTEM_ADMIN'),			
			
        ),
    ),
	
);

?>